s=0
for n in range(1,967):
   if n%2==1:
      s +=n
   else:
      s -=n
      print("1-2+3-...+966的和为：",s)